package com.niit.agricstore.service;

import com.github.pagehelper.PageInfo;
import com.niit.agricstore.entity.AfterSale;
import com.niit.agricstore.util.Result;

import java.util.List;

public interface AftersaleService {
    //根据ID查询售后数据
    AfterSale getAftersaleById(int aftersale_id);
    //查询所有售后数据
     PageInfo<AfterSale> findAllByPage(Integer pageNum,Integer pageSize);
    //更新售后状态
    Result updateAftersaleStatus(int aftersale_id, String aftersale_state);
}
